home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d6 / tallyho.arc / SUMOFYRS.FCP < prev    next >
Text File  |  1990-09-23  |  766b  |  62 lines

  1. @DSPLY "Sum-of-Years'-Digit"
  2. @DSPLY "depreciation method"
  3. @DSPLY "produces a yearly"
  4. @DSPLY "declining deduction"
  5. @DSPLY "by applying a yearly"
  6. @DSPLY "declining fraction to"
  7. @DSPLY "the depreciation base."
  8. =
  9. @NEW STEP
  10. @GET "Cost of the asset"
  11. @RIN (1)
  12. @GET "Estimated life of asset"
  13. @RIN (2)
  14. @GET "Years of prior depr"
  15. @RIN (3)
  16. @GET "Estimated salvage value"
  17. @RIN (4)
  18. @ROUT (1)
  19. -
  20. @ROUT (4)
  21. =
  22. @NEW STEP
  23. @RIN (9)
  24. @ROUT (2)
  25. -
  26. @ROUT (3)
  27. =
  28. @NEW STEP
  29. *
  30. @ROUT (9)
  31. =
  32. @RIN (5)
  33. =
  34. @NEW STEP
  35. @ROUT (2)
  36. +1=
  37. @NEW STEP
  38. /2=
  39. @NEW STEP
  40. *
  41. @ROUT (2)
  42. =
  43. @RIN (6)
  44. =
  45. @ROUT (5)
  46. /
  47. @ROUT (6)
  48. =
  49. @NEW STEP
  50. @DSPLY "This year's depr is"
  51. @GET "0=Quit. 1=Continue."
  52. @IF =
  53. 1=
  54. @NEW STEP
  55. @GOTO (2)
  56. =
  57. @NEW STEP
  58. @ROUT (10)
  59. =
  60. @NEW STEP
  61. @STOP
  62.